package com.vk.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.vk.project.model.dto.interfaceinfo.InterfaceInfoQueryRequest;
import com.vk.project.model.vo.InterfaceInfoVO;
import com.vk.vkapicommon.model.entity.InterfaceInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName : InterfaceInfoMapper
 * @Description : 接口信息Mapper接口
 * @Author : LYQ
 * @Date: 2023-11-23 22:07:58
 */
@Mapper
public interface InterfaceInfoMapper extends BaseMapper<InterfaceInfo> {

    /**
     * 条件查询接口信息
     *
     * @param page                      分页条件
     * @param interfaceInfoQueryRequest 查询条件
     * @return 返回查询到的接口信息列表
     */
    IPage<InterfaceInfoVO> findByCondition(Page<InterfaceInfo> page, @Param("request") InterfaceInfoQueryRequest interfaceInfoQueryRequest);
}




